ACFWF\Models\Third_Party_Integrations\WPML_Support A

Total Complexity 67
Dependencies 5
Dependents 2
Total lines 704
Lines of code 374
Logical lines of code 145
Comment lines 238
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
register_translatable_strings_for_coupons()
B
33 17 114
register_translatable_setting_strings()
S
41 4 68
convert_amount_to_user_selected_currency()
S
57 6 16
add_instructions_to_coupon_url_field()
S
51 5 26
validate_user_currency_on_apply_store_credits_discount()
S
55 4 22
_is_wpml_requirements_installed()
S
70 4 6
remove_translated_versions_of_products()
S
60 3 14
remove_translated_versions_of_categories()
S
61 3 14
wpml_loaded()
S
55 2 19
_is_wpml_admin_translation_pages()
S
66 3 8
get_cart_item_original_product_id()
S
68 3 8
get_translated_taxonomy_terms_and_append_to_list()
S
61 2 14
apply_translation_coupon_field()
S
65 2 8
get_instance()
S
70 2 6
_get_multi_currency()
S
76 2 4
__construct()
S
71 1 6
save_user_currency_to_store_credits_discount_session()
S
76 1 4
convert_cart_total_to_user_based_currency()
S
70 1 6
apply_translation_setting_strings()
S
67 1 8
run()
S
79 1 3